package com.bigShen.mybatis.spring.service.impl;

import com.bigShen.mybatis.spring.dao.UserInfoMapper;
import com.bigShen.mybatis.spring.entity.UserInfo;
import com.bigShen.mybatis.spring.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : lei.shen
 * @date : 2018/12/20
 */
@Service("userInfoService")
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public List<UserInfo> selectUserByName(String userName) {
        return userInfoMapper.selectUserByName(userName);
    }

    @Override
    public List<UserInfo> selectUserByAccount(String account) {

        return null;
    }

    @Override
    public List<UserInfo> selectUserLike(String account, String userName, Integer IId) {
        return null;
    }

}
